\hypertarget{classaetycoon_1_1_pickle_property}{
\section{aetycoon.PickleProperty Class Reference}
\label{classaetycoon_1_1_pickle_property}\index{aetycoon::PickleProperty@{aetycoon::PickleProperty}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_pickle_property_a1266e0611f3f7381e80b1ac499390cea}{
def {\bfseries get\_\-value\_\-for\_\-datastore}}
\label{classaetycoon_1_1_pickle_property_a1266e0611f3f7381e80b1ac499390cea}

\item 
\hypertarget{classaetycoon_1_1_pickle_property_ae57c4235aca4404c122929fb2c794aa4}{
def {\bfseries make\_\-value\_\-from\_\-datastore}}
\label{classaetycoon_1_1_pickle_property_ae57c4235aca4404c122929fb2c794aa4}

\item 
def \hyperlink{classaetycoon_1_1_pickle_property_a1b4f3f5ae7055801c4b29f7beacb8652}{default\_\-value}
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_pickle_property_a4d7f10218849e212f58b1da60cffa2e4}{
{\bfseries data\_\-type} = db.Blob}
\label{classaetycoon_1_1_pickle_property_a4d7f10218849e212f58b1da60cffa2e4}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}A property for storing complex objects in the datastore in pickled form.

Example usage:

>>> class PickleModel(db.Model):
...   data = PickleProperty()

>>> model = PickleModel()
>>> model.data = {"foo": "bar"}
>>> model.data
{'foo': 'bar'}
>>> model.put() # doctest: +ELLIPSIS
datastore_types.Key.from_path(u'PickleModel', ...)

>>> model2 = PickleModel.all().get()
>>> model2.data
{'foo': 'bar'}
\end{DoxyVerb}
 

\subsection{Member Function Documentation}
\hypertarget{classaetycoon_1_1_pickle_property_a1b4f3f5ae7055801c4b29f7beacb8652}{
\index{aetycoon::PickleProperty@{aetycoon::PickleProperty}!default\_\-value@{default\_\-value}}
\index{default\_\-value@{default\_\-value}!aetycoon::PickleProperty@{aetycoon::PickleProperty}}
\subsubsection[{default\_\-value}]{\setlength{\rightskip}{0pt plus 5cm}def aetycoon.PickleProperty.default\_\-value (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}
\label{classaetycoon_1_1_pickle_property_a1b4f3f5ae7055801c4b29f7beacb8652}
\begin{DoxyVerb}If possible, copy the value passed in the default= keyword argument.
This prevents mutable objects such as dictionaries from being shared across
instances.\end{DoxyVerb}
 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
aetycoon/\_\-\_\-init\_\-\_\-.py\end{DoxyCompactItemize}
